package com.example.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@NoArgsConstructor
@Data
public class Employee {
    private Integer id;

    private Integer deptId;

    private Integer jobId;

    private String name;

    private String cardId;

    private String address;

    private String postCode;

    private String tel;

    private String phone;

    private String qqNum;

    private String email;

    private String sex;

    private String party;

    private Date birthday;

    private String race;

    private String education;

    private String speciality;

    private String hobby;

    private String remark;

    private Date createDate;

    public Employee(Integer deptId, Integer jobId, String name, String cardId, String address, String postCode, String tel, String phone, String qqNum, String email, String sex, String party, Date birthday, String race, String education, String speciality, String hobby, String remark, Date createDate) {
        this.deptId = deptId;
        this.jobId = jobId;
        this.name = name;
        this.cardId = cardId;
        this.address = address;
        this.postCode = postCode;
        this.tel = tel;
        this.phone = phone;
        this.qqNum = qqNum;
        this.email = email;
        this.sex = sex;
        this.party = party;
        this.birthday = birthday;
        this.race = race;
        this.education = education;
        this.speciality = speciality;
        this.hobby = hobby;
        this.remark = remark;
        this.createDate = createDate;
    }
}